package ooday04homework;

public abstract class Animal {
    String name;
    int age;
    String color;
    Animal(){

    }
    Animal(String name,int age,String color){
        this.name=name;
        this.age=age;
        this.color=color;
    }

    void  drink(){
        System.out.println("名叫"+name+"，今年"+age+"岁"+color+"色的正在喝水.......");
    }

    abstract void eat();
}
